package com.jindianjichi.subject.domain.handler.subject;

import com.jindianjichi.subject.common.enums.SubjectInfoTypeEnum;
import com.jindianjichi.subject.domain.entity.SubjectInfoBo;
import com.jindianjichi.subject.domain.entity.SubjectOptionBo;

public interface SubjectInfoHandler {
    /**
     * 枚举身份的识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();
    /**
     * 实际题目的插入操作
     */
    void add(SubjectInfoBo subjectInfoBo);
     SubjectOptionBo queryById(Long subjectId);
}
